﻿using SelfMadeMillionaire.Core.Entities;
using SelfMadeMillionaire.Web.Infrastructure.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;
using SelfMadeMillionaire.Core.Enums;

namespace SelfMadeMillionaire.Web.Infrastructure.ViewModels.Newss
{
	public class NewsEditViewModel
	{
        public string SortOrder { get; set; }
        public News News { get; set; }
        public SelectList ProductTypes { get; set; }
        public List<int> SelectedProducts { get; set; }
        public SelectList AccessLevels { get; set; }

        public DateTime? StartDate { get; set; }
        public DateTime? EndDate { get; set; }
        public ProductType? SelectedProduct { get; set; }
        [DisplayName("Min. Access Level")]
        public byte? MinAccessLevel { get; set; }
        public string Title { get; set; }
	}
}
